<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/6 0006
  Time: 下午 4:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <style>

        #sider {
            position: absolute;
            top: 0;
            left: 25px;
            bottom: 0px;
            width: 260px;
            border: 1px solid #DEDFDF;
            float: left;
        }

        #main {
            position: absolute;
            top: 0;
            left: 285px;
            right: 0px;
            bottom: 0px;
            border: 1px solid #DEDFDF;
            overflow: auto;
        }

        #box_border {
            border: 1px solid #EDEDED;
            height: 50px;
            line-height: 50px;
            text-align: center;
        }

        #fang_type {
            list-style-type: none;
        }

        #fang_type li {
            width: 80px;
            height: 22px;
            line-height: 22px;
            color: #FFF;
            display: inline-block;
        }

        .fy_table_td {
            color: #fff;
        }

        .fang_th {
            background: #044599 no-repeat;
            text-align: center;
            border-left: 1px solid #02397F;
            border-right: 1px solid #02397F;
            border-bottom: 1px solid #02397F;
            border-top: 1px solid #02397F;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-size: 14px;
            color: #fff;
            height: 37px;
        }
    </style>
</head>
<body>

<div>
    <div id="sider">


        <ul id="tree" class="ztree">


            <c:forEach items="${CPMap}" var="CPMap">
                <span id="tree_2_switch" title="" class="button level1 switch center_open"
                      treenode_switch="">${CPMap.key.cname}</span>

                <ul class="level0">
                    <c:forEach items="${CPMap.value}" var="project">
                        <li class="lever1">--<a href="/htdc/room/getRooms?pid=${project.pid}"
                                                target="iframe_page">${project.pname}</a></li>
                    </c:forEach>
                </ul>
            </c:forEach>
        </ul>

    </div>
    <div id="main" style="float: left">
        <iframe id="iframe_page" name="iframe_page" src="/htdc/room/getRooms?pid=1" align="middle" width="100%"
                height="435" frameborder="0" scrolling="yes" marginheight="0" marginwidth="0"></iframe>
    </div>

</div>


</body>
</html>
